package com.pureut.scheduling.domain.dto;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @Description 工厂日历实体类
 * @Date 22-12-29
 * @Author hl
 **/
public class SchedulingCalendarDto {

    /** id */
    private long calendarId;

    /** 日历编码 */
    private String calendarCode;

    /** 日历名称 */
    private String calendarName;

    /** 日历开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date calendarStartTime;

    /** 日历结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date calendarEndTime;

    /** 周六上班 1上 2不上 */
    private int calendarSaturdayWork;

    /** 周天上班 1上 2不上 */
    private int calendarWeekendWork;

    /** 节假日上班 1上 2不上 */
    private int calendarHolidayWork;

    /** 线别 */
    private String calendarLine;

    private CalendarUniformDto calendarJson;

    public CalendarUniformDto getCalendarJson() {
        return calendarJson;
    }

    public void setCalendarJson(CalendarUniformDto calendarJson) {
        this.calendarJson = calendarJson;
    }

    public long getCalendarId() {
        return calendarId;
    }

    public void setCalendarId(long calendarId) {
        this.calendarId = calendarId;
    }

    public String getCalendarCode() {
        return calendarCode;
    }

    public void setCalendarCode(String calendarCode) {
        this.calendarCode = calendarCode;
    }

    public String getCalendarName() {
        return calendarName;
    }

    public void setCalendarName(String calendarName) {
        this.calendarName = calendarName;
    }

    public Date getCalendarStartTime() {
        return calendarStartTime;
    }

    public void setCalendarStartTime(Date calendarStartTime) {
        this.calendarStartTime = calendarStartTime;
    }

    public Date getCalendarEndTime() {
        return calendarEndTime;
    }

    public void setCalendarEndTime(Date calendarEndTime) {
        this.calendarEndTime = calendarEndTime;
    }

    public int getCalendarSaturdayWork() {
        return calendarSaturdayWork;
    }

    public void setCalendarSaturdayWork(int calendarSaturdayWork) {
        this.calendarSaturdayWork = calendarSaturdayWork;
    }

    public int getCalendarWeekendWork() {
        return calendarWeekendWork;
    }

    public void setCalendarWeekendWork(int calendarWeekendWork) {
        this.calendarWeekendWork = calendarWeekendWork;
    }

    public int getCalendarHolidayWork() {
        return calendarHolidayWork;
    }

    public void setCalendarHolidayWork(int calendarHolidayWork) {
        this.calendarHolidayWork = calendarHolidayWork;
    }

    public String getCalendarLine() {
        return calendarLine;
    }

    public void setCalendarLine(String calendarLine) {
        this.calendarLine = calendarLine;
    }
}
